<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>Jqinga's Blog</title>
    <link rel="icon" href="_media/favicon.ico" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="description" content="Description" />
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1.0, minimum-scale=1.0"
    />
    <link
      rel="stylesheet"
      href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css"
    />
    <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/gitalk/dist/gitalk.css">
  </head>
  <body>
    <nav>
      <a href="https://jiqinga.top" target="_blank">❤️❤️ Jiqinga's Blog</a>
      <!-- <a href="https://spring.throwx.cn">🐮🐮 Spring专栏</a> -->
    </nav>
    <div id="app">加载中...</div>
    <script src="//cdn.jsdelivr.net/npm/docsify-edit-on-github/index.js"></script>
    <script>
        window.$docsify = {
            // 项目名称
            name: 'Jiqinga的文档',
            // 仓库地址，点击右上角的Github章鱼猫头像会跳转到此地址
            repo: 'https://gitee.com/jiqinga/jiqinga',
            // 侧边栏支持，默认加载的是项目根目录下的_sidebar.md文件
            loadSidebar: true,
            //设置为 history 之后，浏览器链接里不会出现 #
            //routerMode: 'history',
            // 导航栏支持，默认加载的是项目根目录下的_navbar.md文件
            loadNavbar: true,
            //让你的内容页在滚动到指定的锚点时，距离页面顶部有一定空间。
            topMargin: 40,
            //_blank表示在新标签页中打开外链
            externalLinkTarget: '_blank',
            // 封面支持，默认加载的是项目根目录下的_coverpage.md文件
            coverpage: true,
            homepage: '/aa/a.md',
            fallbackLanguages: ['zh-cn', 'en'],
            mergeNavbar: true,
            auto2top: true,
            // 最大支持渲染的标题层级
            maxLevel: 4,
            subMaxLevel: 2,
            topMargin: 20,
            search: {
              depth: 6,
              noData: {
                '/en/': 'No results!',
                '/zh-cn/': '没有找到结果!',
                '/': '没有找到结果!'
              },
              paths: 'auto',
              placeholder: {
                '/en/': 'Type to Search',
                '/zh-cn/': '输入关键词搜索',
                '/': '输入关键词搜索'
              },
              pathNamespaces: ['/zh-cn', '/en']
                    },
              plugins: [
                EditOnGithubPlugin.create('https://gitee.com/jiqinga/jiqinga/tree/master/',
                null,
                function(file) {
                  if (file.indexOf('en') === -1) {
                    return '编辑'
                  } else {
                    return 'edit on git'
                  }
                }
                )
              ],
              plantuml: {
                skin: 'classic',
              },
              count: {
                countable: true,
                position: 'top',
                margin: '10px',
                float: 'right',
                fontsize: '0.9em',
                color: 'rgb(90,90,90)',
                language: 'chinese',
                localization: {
                  words: "",
                  minute: ""
                },
                isExpected: true
              },
              pagination: {
                previousText: '上一篇',
                nextText: '下一篇',
                crossChapter: true,
                crossChapterText: false,
              },
              copyCode: {
                buttonText : '复制到剪贴板',
                errorText  : '复制失败',
                successText: '复制成功'
              }
        }
    </script>
    <!-- 搜索功能支持 -->
    <script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
    <!-- docsify的js依赖 -->
    <script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
    <!-- emoji表情支持 -->
    <script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/emoji.min.js"></script>
    <!-- 字数统计 -->
    <script src="//cdn.jsdelivr.net/npm/docsify-count@latest/dist/countable.min.js"></script>
    <!-- 分页导航 -->
    <script src="//cdn.jsdelivr.net/npm/docsify-pagination/dist/docsify-pagination.min.js"></script>
    <!-- 图片放大缩小支持 -->
    <script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/zoom-image.min.js"></script>
    <!-- 复制到剪切板 -->
    <script src="//cdn.jsdelivr.net/npm/docsify-copy-code"></script>
  </script>
</body>
</html>
